{% extends 'base.html.twig' %}
{% block title %} {{ titulo }} {% endblock %}
{% block stylesheets %}
	<link rel="styleSheet" href="{{ asset('bundles/proyectomain/css/login.css') }}" style="text/css" title="estilo1">
{% endblock %}
{% block body %}

<header id="header">
			<h1>
			      {{ header }}
                        </h1>
		</header>
	
		<div id="cuerpo">

			<div id="dialogo">
				<label>
				{% if error %}
					<div>{{ error.message|trans }}</div>
				{% endif %}
				</label>
				<form action="{{ path('login_check') }}" method="post">
					<div>
						<label for="username">Username:</label>
						<input type="text" id="username" name="_username" value="{{ last_username }}" />
					</div>
					<div>
						<label for="password">Password:</label>
						<input type="password" id="password" name="_password" />
					</div>

					<input type="submit" value="Ingresar" id="boton"/> 
				</form>
				 <a href="{{ path('visitante') }}">Entrar como visitante </a>
			</div>
		</div>



		<footer id="footer">
			<h3> {{ footer }} </h3>
		</footer>

{% endblock %}
